I'll need more information to answer that. Feel free to open another question. I'll see if I can help.
Post
Replies
Boosts
Views
Activity
Well, it works on both Xcode 12 and 13 on my computer. Did you add the key NSCameraUsageDescription in your Info.plist? It's required for camera access. You can also try to clean the build folder using Command-K. Also set a breakpoint on the above added line to see if it's called.
Unfortunately it has been two weeks and no reply from Apple. I will keep you updated.
I am not sure if it would help. But building with iOS 15 SDK (Xcode 13) might allow you to overwrite canPerformAction and buildMenu directly.